//敌机

import java.util.Timer;
import java.util.TimerTask;

public abstract class ArmyPlane extends Flyer{
    //属性
    private int score;//击败分数

//构造器
    public ArmyPlane(int width, int hight, int x, int y, int speed, int boold,int score) {
        super(width,hight,x,y,speed,boold);
        this.score = score;
    }

    public ArmyPlane(int width, int hight, int x, int y, int speed, int boold,int score,int creatbulletspeed) {
        super(width,hight,x,y,speed,boold,creatbulletspeed);
        this.score = score;
    }

    //方法
    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
